package com.jzr.medical.controller.api;

import com.jzr.common.entity.vo.Result;
import com.jzr.medical.db1.service.NurseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/api/nurse")
public class NurseController {
    @Autowired
    private NurseService nurseService;

    @RequestMapping("/codeList")
    public Result<List<Map<String,Object>>> codeList(String districtNo, String deptNo){
        return Result.success("成功",nurseService.codeList(districtNo,deptNo));
    }
}
